package com.dawan.sbjy.Config;

public class HandlerDataSource {
    private static ThreadLocal<String> handlerThredLocal = new ThreadLocal<String>();
    public static void putDataSource(String datasource) {
        handlerThredLocal.set(datasource);
    }
    public static String getDataSource() {
        return handlerThredLocal.get();
    }
    public static void clear() {
        handlerThredLocal.remove();
    }
}
